package com.ys.sb.hessian.service.impl;

import com.ys.sb.hessian.service.HelloService;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * 服务实现
 */
@Component("helloService")
public class HelloServiceImpl implements HelloService,Serializable {
    @Override
    public String sayHello(String word) {
        return "hessian" + word;
    }
}
